---
title: Error in live content config.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **示例错误消息：**<br/>
The schema cannot be a function for live collections. Please use a schema object instead. Check your collection definitions in your live content config file.

## 哪里出了问题？
实时内容集合配置错误。

**请参阅：**
-  [实验性实时内容集合](/zh-cn/reference/experimental-flags/live-content-collections/)
